﻿using FluentValidation.Attributes;
using Nop.Admin.Validators.XJ;
using Nop.Web.Framework.Mvc;
using System;

namespace Nop.Admin.Models.XJ
{
	public class PlaceListModel
	{
		public string SearchName { get; set; }
	}

	[Validator(typeof(PlaceValidator))]
	public class PlaceModel : BaseNopEntityModel
	{
		/// <summary>
		/// 名称
		/// </summary>
		public string Name { get; set; }
		/// <summary>
		/// 位置
		/// </summary>
		public string Location { get; set; }
		/// <summary>
		/// 经度 118.?
		/// </summary>
		public string Longitude { get; set; }
		/// <summary>
		/// 纬度 33.?
		/// </summary>
		public string Latitude { get; set; }
		/// <summary>
		/// 坐标点
		/// </summary>
		public string Point { get; set; }
		/// <summary>
		/// 排序
		/// </summary>
		public int DisplayOrder { get; set; }
		/// <summary>
		/// 启用
		/// </summary>
		public bool Published { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>
		public int CustomerId { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreatedOn { get; set; }
	}
}